.container {
    padding-top: 45px;
    padding-bottom: 45px;
    min-height: 100vh;
}

.header {
    position: relative;
    height: 140px;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    background: linear-gradient(to left, #fff2ea 0%, #fec4b9 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.headerTitle {
    position: absolute;
    left: 30px;
    font-size: 24px;
    margin-bottom: 20px;
    color: #f7a695;
}

.headerAvatar {
    position: absolute;
    bottom: -60px;
    left: 30px;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gerenjieshaoBox {
    border-radius: 12px;
    margin: 70px 16px 16px;
}

.namebox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.namebox div{
    display: flex;
    align-items: center;
}

.namebox img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.namebox h3 {
    font-size: 26px;
    margin: 0;
    color: #333;
}

.jobTitle {
    font-size: 14px;
    color: #666;
    margin-left: 8px;
}

.btn {
    width: 60px;
    margin-left: 10px;
}

.doctoryuan {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* 保留一个 .jianjie 定义 */
.jianjie {
    font-size: 14px;
    color: #838182;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

/* 折叠状态样式 - 调整 max-height 确保只显示3行 */
.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 显示3行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    max-height: 65px; /* 3行 * 行高1.6 * 字体大小14px = 67.2px，取65px确保只显示3行 */
}

/* 展开按钮样式 */
.expandBtn {
    color: #f67280;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent, #fff 50%);
    padding-left: 10px;
}

/* 收起按钮样式 */
.collapseBtn {
    color: #f67280;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    display: block;
    margin-top: 10px;
}

/* 评论区域样式 */
.commentSection {
    padding: 16px;
}

.commentHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.inputbox{
    display: flex;
    justify-content: space-between;
}

.commentHeader h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.noComment {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

.commentList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentItem {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.commentUserInfo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.userInfoText {
    margin-left: 10px;
}

.userName {
    font-size: 14px;
    color: #333;
    margin: 0 0 5px 0;
}

.commentTime {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.commentContent {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.commentRating {
    display: flex;
}

.starActive {
    color: #ffb400;
    margin-right: 2px;
}

.starInactive {
    color: #e0e0e0;
    margin-right: 2px;
}


.wenzbtn{
    width: 100%;
    height: 50px;
    border-top: solid 1px #f0f0f0;
    text-align: center;
    line-height: 45px;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr;
    font-size: 16px;
    background: #fdfdfd;
}